Skip to content

Instantly share code, notes, and snippets.

@everyplace
everyplace / Disable Xcode's permissions checks.md
Last active March 13, 2026 16:24
Configure Xcode 26.3 with agent support to use the iOS-simulator mcp server

Disable Xcode's agent permissions checks

Note

This addresses the concern of "how to get Xcode's agent support to reach outside of itself without asking for permission" but does not address the reverse of "how to get a terminal agent to talk to Xcode without prompting."

This is basically the equivalent of running something like claude --dangerously-skip-permissions, so... probably this is a bad idea.

defaults write com.apple.dt.Xcode IDEChatAgenticChatSkipPermissions -bool YES

When you set this flag, after you initiate a session with Claude Agent in Xcode, if you go to terminal and run ps -ax | grep danger you will see the claude agent process has --dangerously-skip-permissions passed directly to it from Xcode.

@Klerith
Klerith / programas.md
Created July 13, 2023 20:10
Programas para hacer diagramas entidad relación
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 13, 2026 16:21
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
  • Shall i implement it?
  • No ...
@merryhime
merryhime / text.md
Last active March 13, 2026 16:20
Playing with segment registers fs and gs on x64

GSBASE and FSBASE

When you're running out of registers while writing a JIT, you might resort to more unconventional methods for memory access. You might choose to resort to segment registers if you need a fixed register for memory offsets.

Instructions such as:

lea    rax,gs:[rcx+rdx*8]
mov    rax,gs:[rcx+rdx*8]

would then be available for your use.

@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active March 13, 2026 16:19
Hyperlinks in Terminal Emulators
@hewerthomn
hewerthomn / install-oh-my-zsh.sh
Created January 26, 2017 11:30
Offline install of oh-my-zsh on Ubuntu
main() {
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"

Migrate Azure Functions project from Application Insights to OpenTelemetry

Version 3.0.0 of Microsoft.ApplicationInsights.WorkerService is not compatible with the Azure Functions Worker as reported here and here. There will not be a fix according to this comment. Instead, migrating to OpenTelemetry-based monitoring is advised.

I've written the following instructions for myself to perform a (basic) migration to OpenTelemetry-based monitoring. They are based on:

@omarmciver
omarmciver / new-data-vhdx-wsl2.md
Last active March 13, 2026 16:10
New VHDX attach to WSL2

Creating and Maintaining a VHDX Drive in WSL

This guide explains how to create, mount, and maintain a VHDX drive for use with WSL (Windows Subsystem for Linux).

Prerequisites

  • Windows 10/11 with WSL2 installed
  • Administrative access
  • PowerShell
  • Sufficient disk space